package adapter.use;

public class OperatingSystem {
    private Driver driver;
    public void installDriver(Driver driver) {
        this.driver = driver;
    }

    public void playGame() {
        driver.startPower();
        driver.writeMemory();
        System.out.println("游戏开始了");
    }
}
